<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>load()</title>
</head>
<body>
<input type="button" value="Ajax" id="send" />
<div id="resText"></div>
<script src="../assets/Js/jquery.js"></script>
<script>
    $(document).ready(function(){
        $('#send').click(function(){
            $str = "hellos"
            $('#resText').load("index1.html",function(){
                alert($str);
            });
        })
    })
</script>
</body>
</html>